package cn.tedu.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 1.ComponentScan注解:自动扫描注解
 * 2.Configuration注解
 *      声明此类为配置类,工程启动时框架会自动加载此类
 */
@Configuration
@ComponentScan("cn.tedu.spring")
public class SpringConfig {

}
